package com.reebake.ideal.storage.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "caihua.storage")
public class StorageProperties {

    private Integer imageWidth = 1000;
    private Integer imageHeight = 1000;
    private Integer waterMarkImageWidth = 200;
    private Integer waterMarkImageHeight = 200;
    private String waterMarkImageUrl;
    private Float waterMarkOpacity = 0.2f;
    private Integer thumbnailImageWidth = 200;
    private Integer thumbnailImageHeight = 200;
    private Integer presignedExpireIn = 60 * 60;
}
